package com.xbh.management;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-08-29 18:52
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.xbh.*.*")
@ImportResource(locations = "classpath:app.xml")
@EnableScheduling
public class ManagementCenterApplication {
    private static Logger logger = LoggerFactory.getLogger(ManagementCenterApplication.class);
    public static void main(String[] args) {
       SpringApplication.run(ManagementCenterApplication.class, args);
        logger.info("管理中台已启动");
    }
}
